import { DnFC } from '@inbiz/react';
import { createBehavior, createResource } from '@inbiz/core';
import Content from '../../preview/web';
import { Behavior, Resource } from './schema';

export const News: DnFC<React.ComponentProps<typeof Content>> = Content;

News.Behavior = createBehavior(Behavior);

News.Resource = createResource(Resource);

export default News;